#include <stdio.h>
#include <stdlib.h>
#include <math.h>

double x_to_the_n(int x, int n);

int main()
{
	int x = 0;
	int n = 0;
	printf("input x n:");
	scanf("%d %d", &x, &n);
	double re = 1;
	re = x_to_the_n(x, n);
	printf("result:%lf\n", re);
	return 0;
}

double x_to_the_n(int x, int n)
{
	double re = 1;
	int i;
	for(i = 0; i<n; i++)re = re*x;
	return re;
}
